#ifndef SUBSYSTEM2_STATIONQUEUE_H
#define SUBSYSTEM2_STATIONQUEUE_H

#include <deque>

class Stationqueue {
private:
    int number;
    static std::deque<int> stationnumbers;
public:
    Stationqueue(int number){
        number=this->number;
        stationnumbers.push_back(number);
    }
    int popnumber(){
        int n=stationnumbers.front();
        stationnumbers.pop_front();
        return n;
    }
};


#endif //SUBSYSTEM2_STATIONQUEUE_H
